<template>
  <div id="topAnchor" class="wrap">
    <a id="TOPUp" href="#app">
      <img style="width: 100%;height: 100%;" src="../assets/top.png" alt="">
    </a>
  </div>
</template>

<script>
export default {
  methods: {
    toTop() {
      document.documentElement.scrollTop = 0;
    },
  },
};
</script>

<style>
#topAnchor {
  height: 5000px;
}
#TOPUp{
  position: fixed;
  right: 45px;
  bottom: 100px;
  width: 40px;
  height: 40px;
  z-index: 99999999;
  box-shadow: 0px 0px 4px 4px #ecefef;
  border-radius: 600px;
}
</style>
